import { VuexModule, Module, Action, getModule } from 'vuex-module-decorators'
import { commonAction } from '@/utils/common'
import store from '@/store'

@Module({ dynamic: true, name: 'systemConfig', store, namespaced: false })
class SystemConfig extends VuexModule {
  @Action
  public async SystemCommonAction (parame: object) {
    return commonAction(parame).then(resp => {
      return resp
    })
  }
}

export const SystemConfigModule = getModule(SystemConfig)
